<script setup lang="ts">
import ConsultList from './components/ConsultList.vue'
import { CONSULT_TYPE } from '@/enums'
</script>

<template>
  <div class="consult-page">
    <cp-nav-bar title="问诊记录" :right-text="''" />
    <van-tabs sticky>
      <van-tab title="极速问诊"
        ><consult-list :type="CONSULT_TYPE.Fast"
      /></van-tab>
      <van-tab title="找医生"
        ><consult-list :type="CONSULT_TYPE.Doctor"
      /></van-tab>
      <van-tab title="开药问诊"
        ><consult-list :type="CONSULT_TYPE.Medication"
      /></van-tab>
    </van-tabs>
  </div>
</template>

<style lang="scss" scoped>
.consult-page {
  padding-top: 46px;
  background-color: var(--cp-bg);
  min-height: calc(100vh - 46px);
}
</style>
